<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="icon" href="/static/images/x.ico">
    <title>游戏结束</title>
    <link rel="stylesheet" href="{{ url_for('static', filename='css/styles.css') }}">
    <style>
        .result-box {
            background: white;
            padding: 2rem;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            text-align: center;
            max-width: 600px;
            margin: 2rem auto;
        }
        .fireworks {
            font-size: 4rem;
            margin: 1rem 0;
            animation: pulse 1.5s infinite;
        }
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.1); }
            100% { transform: scale(1); }
        }
        .score-display {
            font-size: 2.5rem;
            color: #e74c3c;
            margin: 1rem 0;
        }
        .restart-btn {
            background: #2ecc71;
            color: white;
            padding: 1rem 2rem;
            border-radius: 50px;
            border: none;
            cursor: pointer;
            margin-top: 2rem;
        }
        
    </style>
</head>
<body>
    <div class="container">
        <div class="result-box">
            <div class="fireworks">🎆🎇✨</div>
            <h1>恭喜完成所有题目！</h1>
            <div class="score-display">{{ score }} 分</div>
            <div class="message">
                <p>信息工程与传媒学院提醒您</p>
                <p>图片均由AI创作生成</p>
                
            </div>
            <button class="restart-btn" onclick="location.href='/'">再玩一次</button>
        </div>
    </div>
</body>
</html>